import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import elementplus from "element-plus"
import router from "./router"
import store from './store'
import "element-plus/dist/index.css"
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'normalize.css'
import "animate.css"
//ws
 
import Zdirective from "@/directive/src"


const app= createApp(App)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {app.component(key, component)}
app.use(elementplus)
app.use(router)
app.use(store)
app.use(Zdirective)

app.use(createPinia())
app.mount('#app')
